package com.qmth.gkwb.data.repository;

import java.util.List;

import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import com.qmth.gkwb.data.constant.OrderStatus;
import com.qmth.gkwb.data.entity.ZFZFMX;

public interface ZFZFMXRepo extends JpaRepository<ZFZFMX, Long> {

	List<ZFZFMX> findByExamId(String examId,Pageable pageable);
	long countByExamId(String examId);
	int countByExamIdAndPayOrderStatus(String examId,OrderStatus status);
}
